package com.ruoyi.coal.modules.coalpile.domain;

import com.ruoyi.coal.modules.coalpile.domain.vo.resultVo;
import java.util.List;

public class ResultData {
    private String type;

    private List<resultVo> data;

    public void setType(String type) {
        this.type = type;
    }

    public void setData(List<resultVo> data) {
        this.data = data;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.ruoyi.coal.modules.coalpile.domain.ResultData))
            return false;
        com.ruoyi.coal.modules.coalpile.domain.ResultData other = (com.ruoyi.coal.modules.coalpile.domain.ResultData)o;
        if (!other.canEqual(this))
            return false;
        Object this$type = getType(), other$type = other.getType();
        if ((this$type == null) ? (other$type != null) : !this$type.equals(other$type))
            return false;
        List<resultVo> this$data = (List<resultVo>)getData(), other$data = (List<resultVo>)other.getData();
        return !((this$data == null) ? (other$data != null) : !this$data.equals(other$data));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.ruoyi.coal.modules.coalpile.domain.ResultData;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $type = getType();
        result = result * 59 + (($type == null) ? 43 : $type.hashCode());
        List<resultVo> $data = (List<resultVo>)getData();
        return result * 59 + (($data == null) ? 43 : $data.hashCode());
    }

    public String toString() {
        return "ResultData(type=" + getType() + ", data=" + getData() + ")";
    }

    public ResultData(String type, List<resultVo> data) {
        this.type = type;
        this.data = data;
    }

    public ResultData() {}

    public String getType() {
        return this.type;
    }

    public List<resultVo> getData() {
        return this.data;
    }
}
